package com.service;

/**
 * Created by IntelliJ IDEA.
 * User: luotao
 * Date: 12-5-28
 * Time: 22:57
 */
public class DemoServiceImpl implements DemoService {
    @Override
    public String findPassword(String username) {
        if ("zhangsan".equals(username)) {
            return "123";
        } else {
            return "456";
        }
    }
}
